package com.example.smartagriculture.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * all_environmental_information 实体类
 * @author 张芸博
 * @since 2024-12-28
 */
@Data
@AllArgsConstructor
@TableName("all_environmental_information")
public class AllEnvironmentalInformation implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 温度
     */
    @Schema(name = "temperature", description = "温度")
    private double temperature;

    /**
     * 湿度
     */
    @Schema(name = "humidity", description = "湿度")
    private double humidity;

    /**
     * 光照强度
     */
    @Schema(name = "light_intensity", description = "光照强度")
    private double lightIntensity;

    /**
     * 机器编号
     */
    @Schema(name = "machine_number", description = "机器编号")
    private String machineNumber;


}
